package com.bluesky.dao;

import java.util.List;

import com.bluesky.model.Admin;
import com.bluesky.model.Pages;
import com.bluesky.model.User;

public interface UserDao {

	public int AddUser(User user);
	
	public int DeletUserById(int uid);
	
	public int UpdateUserById(User user);
	
	public List<User> getUsersAll();
	
	public List<User> getUserByid(int id);
	
	public List<User> getUserBynamePawd(User user);

	public List<User> getUserPage(Pages pages);
	
	public List<User> getUserBySno(String sno);
	
	public List<User> getByUserAnd(User sno);
	
	public User getByNamePwd(User user);

	public List<User> getAdminBynamePwd(Admin admin);

	public List<User> getUserByClassname(String classname);

}
